<volist name='data3' id='vo'>
	<div style='padding:5px;border-bottom:1px solid #ccc;' >
		<if condition="$vo.info_stat eq 4">
			<div style='word-break:break-all;color:#bbb' >{$vo.info_title}</div>
		<else/>
			<div style='word-break:break-all;color:blue' onclick="service_detail_jump('{$vo.info_id}','{$vo.info_service_type_id}')">{$vo.info_title}</div>
		</if>
		<div style='font-size:12px;margin-top:5px;color:#888'>
			<div style='float:left'>{$vo.info_service_type}　{$vo.info_ctime|date='Y-m-d',###}</div>
			<div style='float:left;margin-left:10px'>
				<switch name='vo.info_stat'>
					<case value='1'><b style='color:#aaf'>待审核</b></case>
					<case value='2'><b style='color:blue'>正常</b></case>
					<case value='3'><b style='color:red'>未通过</b></case>
					<case value='4'><b style='color:#bbb'>已删除</b></case>
				</switch>
			</div>
			<div style='float:right' class='service_me_content_infos_del' info_id='{$vo.info_id}' service_id='{$vo.info_service_type_id}'>
				<if condition="$vo.info_stat neq 4">
					删除
				</if>
			</div>
			<div style='clear:both'></div>
		</div>
	</div>
</volist>

<div style='margin-top:30px;margin-bottom:80px;text-align:center' id='service_me_content_infos_fpage'>{$fpage}</div>

<script>
	//跳转到详情
	function service_detail_jump(info_id,service_id){
		sessionStorage.service_detail_infoId = info_id;
		sessionStorage.service_detail_serviceId = service_id;
		sessionStorage.service_detail_type = 'service_me';
		location.href='service_detail.html';
	}
	$(function(){
		//分页
		$('#service_me_content_infos_fpage a').click(function(){
			sessionStorage.service_me_content_infos_pnow = $(this).attr('pnow');
			location.reload(true);
		});



		//删除
		$('.service_me_content_infos_del').click(function(){
			var service_me_content_infos_infoId = $(this).attr('info_id');
			var service_me_content_serviceId = $(this).attr('service_id');
			if(!confirm('确认删除？')){
				exit;
			}
			$.ajax({
				url:'interface.php',
				data:{
					type:'token',
				},
				success:function(token){
					$.ajax({
						url:'interface.php',
						data:{
							type:'info_del',
							token:token,
							uid:'{$uid}',
							info_id:service_me_content_infos_infoId,
							service_id:service_me_content_serviceId,
							file_name:md5(service_me_content_serviceId+service_me_content_infos_infoId)
						},
						success:function(res){
							if(res > 0){
								alert('删除成功！');
								location.reload(true);
							}
					
						}
					})
				}
			})
		});

	});
</script>